<!--全局页面基础布局-->
<template>
  <div id="basicLayout">
    <a-layout style="min-height: 100vh">
      <a-layout-header class="header"><!-- 顶部栏组件 -->
        <GlobalHeader />
      </a-layout-header>
      <a-layout-content class="content"><!-- 内容 -->
        <router-view /><!-- 动态路由切换 -->
      </a-layout-content>
      <a-layout-footer class="footer"><!-- 底部栏 -->
<!--        <a href="https://www.codefather.cn" target="_blank" >-->
          鱼皮皮云图库 by lqw
<!--        </a>-->
      </a-layout-footer>
    </a-layout>
  </div>
</template>

<script setup lang="ts">
import GlobalHeader from "@/components/GlobalHeader.vue";
</script>

<style scoped>
#basicLayout .footer {
  background: #efefef;
  padding: 16px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
}
#basicLayout .content {
  padding: 20px;
  background: linear-gradient(to right, #efefef,#fff);
  margin-bottom: 28px;
}
#basicLayout .header {
  padding-inline: 20px;
  background: white;
  color: unset;
  margin-bottom: 16px;
}
</style>
